import axios from '@/util/axios.config'
import qs from 'qs'


// /admin/api/pt/report
export const mainRepdortList = (data) => {
  return axios({
    url: '/admin/api/pt/report',
    method: 'post',
    // headers: {'Content-Type': 'multipart/form-data'},
    data
  })
}

export const exportExcel = (data) => {
  return axios({
    url: `/admin/api/pt/exportExcel?${data}`,
    method: 'get',
    responseType: 'blob',
    // params: data
  })
}